package com.jin.stu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jin.stu.domain.Leave;
import com.jin.stu.vo.LeaveVo;
import org.apache.ibatis.annotations.Select;

public interface LeaveMapper extends BaseMapper<Leave> {

    @Select("SELECT * FROM `leaves` where id= ${id}")
    public LeaveVo getLeaveById(Integer id);
}
